package com.szrt.java.day20161222.prictise;

public class PrictiesDemo01 {
	
	
	public static void main(String[] args) {
		
		String name  = "赵敏";
		double score = 98.5;
		char     sex = '男';
        int      age = 18;

		//1 先打印出横线		
		System.out.println("--------------------------------------------");
		
		//2 打印出表格的表头
		System.out.println("姓名"+"\t"+"分数"+"\t"+"性别"+"\t"+"年龄");
		
		//3打印出表格的内容
		System.out.println(name+"\t"+score+"\t"+sex+"\t"+age);
		
		//4 先打印出横线
		System.out.println("--------------------------------------------");
		
	}

}
